from django.urls import re_path
from rest_framework.routers import SimpleRouter

from bigpeng2020 import views

urlpatterns = [
    # re_path(r'^spit/$',views.SpitViewSet.as_view({
    #     'get':'list',
    #     'post':'create'
    # })),
    # re_path(r'^spit/{id}/updatethumbup/$',views.SpitViewSet.as_view({
    #     'put':'update_thumbup',
    #
    # })),
    # re_path(r'^spit/{id}/collect/$',views.SpitViewSet.as_view({
    #     'put':'collect'
    # }))
]

# router = SimpleRouter()
# router.register(r'spit', views.SpitViewSet)
# urlpatterns += router.urls